DomainObjects Class Library |
|
Criteria.AddInSubquery Method (Field, Field, Criteria)
Constrains the search to rows in which the field has a value that is equal to at least one of the compareToField values returned by a subquery constrained by the given criteria.
Parameters
-
field
- A field from the object model. It can be a field in a persistable object, a constant or a function.
-
compareToField
- A field from the object model to select in a subquery and compare against. It can be a field in a persistable object, a constant or a function.
-
criteria
- The criteria that will constrain the compareToField subquery.
Return Value
The current Criteria to which an AddInSubquery() constraint has been added.
See Also
Criteria Class | DomainObjects.Facade.Command Namespace | Criteria.AddInSubquery Overload List